package net.togogo.egouweb1238.core.controller.seller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 商家后台向导控制器
 * @author stone
 *
 */
@Controller
@RequestMapping(value = "/seller")
public class SellerGuideController {

	/**
	 * 跳转到商家后台首页
	 * @return
	 */
	@RequestMapping(value = "/index")
	public String index() {
		return "index";
	}

	/**
	 * 跳转到商家后台登录界面
	 * @return
	 */
	@RequestMapping(value = "/login")
	public String login() {
		return "index";
	}

	//跳转头页面
	@RequestMapping(value = "/top")
	public String top() {
		return "top";
	}

	//跳转身体页面
	@RequestMapping(value = "/main")
	public String main() {
		return "main";
	}

	//跳转左页面
	@RequestMapping(value = "/left")
	public String left() {
		return "left";
	}

	//跳转右页面
	@RequestMapping(value = "/right")
	public String right() {
		return "right";
	}

	

	/**
	 * 跳转到商家增加商品页面
	 * @return
	 */
	@RequestMapping(value = "/seller/product/toAdd")
	public String toAddProduct() {
		return "product/add";
	}

	/**
	 * 跳转到商家显示商品列表页面
	 * @return
	 */
	@RequestMapping(value = "/seller/product/list")
	public String toListProduct() {
		return "product/list";
	}
}
